<?php
    /*
    include "../../../config.php";
    require_once("../redirect.php");

    $path = $CFG->wwwroot . 'mod/folio/ajax/';
    */
    
    Header("content-type: application/x-javascript");
?>

// Toggle visibility of object.
function folio_artifact_ToggleVisible( sElement_id, boolVisible ) {
    if ( boolVisible ) {
        Effect.Appear(sElement_id +'_text','appear');
        Effect.Fade(sElement_id+ '_expand','appear');   
    } else {
        Effect.Fade(sElement_id +'_text','appear');   
        Effect.Appear(sElement_id +'_expand','appear');
    }
}
